package com.service.banner;

import com.dao.mapper.Banner;
import com.dao.mapper.BannerMapper;
import com.service.ApplicationContextService;
import java.util.List;

public class BannerService extends ApplicationContextService {

    public static Banner getAll(Integer id){
        BannerMapper mapper = getApplicationContext(BannerMapper.class);
        return mapper.getAll(id);
    }
}
